var checkObjectType = (FOCS)?(
	function(object) {
		return object instanceof Object;
	}):(
	function(object) {
		return 	typeof object == "object";
	});
	
var setFromString = (FOCS)?(
	function(object,param,node){
		object.responseXML = new DOMParser().parseFromString(param, "text/xml");
		return object;
	}):(
	function(object,param,node){
		if (node.loadXML(param)) {
			object.responceXML = node.XMLDocument;
		}
		return object;	
	});
	
var includeElements = (FOCS)?(
	function(object1,object2){	
	}):(	
	function(object1,object2){
		$('body').append(object1).append(object2);
	});

var removeElements = (FOCS)?(
	function(object1,object2){
	}):(
	function(object1,object2){
		document.body.removeChild(object1);
		document.body.removeChild(object2);
	});

var makeNodes = (FOCS)?(
	function(){
		return {
			xmlnode:null,
			xslnode:null
		};
	}):(
	function(){
		return {
			xmlnode:document.createElement("xml"),
			xslnode:document.createElement("xml")
		};	
	});